﻿<%@ Page Title="" Language="C#" MasterPageFile="~/adminpanel.master" AutoEventWireup="true" CodeFile="Admin_Registration.aspx.cs" Inherits="AdminRegistration" %>

<%@ Register assembly="Telerik.Web.UI" namespace="Telerik.Web.UI" tagprefix="telerik" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" Runat="Server">
    <style type="text/css">
        .style1
        {
            width: 1064px;
        }
        .style4
        {
            width: 256px;
        }
        .style7
        {
            width: 96px;
            height: 22px;
        }
        .style10
        {
            width: 158px;
        }
        .style14
        {
            width: 99px;
        }
        .style15
        {
            width: 86px;
        }
        .style16
        {
            width: 83px;
        }
        .style17
        {
            width: 76px;
        }
        .style18
        {
            width: 336px;
            font-weight: 700;
        }
    .style20
    {
        text-align: left;
        font-family: "Times New Roman", Times, serif;
        font-size: x-large;
    }
        .style22
        {
            font-family: Arial, Helvetica, sans-serif;
            font-size: medium;
        }
        .style23
        {
            width: 109px;
        }
        .style24
        {
            width: 109px;
            height: 1px;
        }
        .style25
        {
            width: 336px;
            height: 1px;
        }
        .style26
        {
            width: 256px;
            height: 1px;
        }
        .style27
        {
            height: 1px;
        }
        .style28
        {
            font-family: Arial, Helvetica, sans-serif;
        }
        .style33
        {
            width: 109px;
            height: 22px;
        }
        .style34
        {
            width: 336px;
            font-weight: 700;
            height: 22px;
        }
        .style35
        {
            width: 256px;
            height: 22px;
        }
        .style36
        {
            width: 142px;
            height: 1px;
        }
        .style37
        {
            width: 142px;
        }
        .style38
        {
            width: 142px;
            height: 22px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" Runat="Server">
    <table class="style1">
        <tr>
            <td class="style20">
                &nbsp;</td>
        </tr>
        <tr>
            <td>
   
    <div style="height: 440px; width: 855px">
    
        <table class="style1">
            <tr>
                <td class="style24">
                    &nbsp;</td>
                <td class="style36">
                    </td>
                <td class="style25">
                    </td>
                <td class="style26">
                    <span class="style28"></td>
                <td colspan="4" class="style27">
                    </td>
            </tr>
            <tr>
                <td class="style23">
                    &nbsp;</td>
                <td class="style37">
                    </span></td>
                <td class="style22" colspan="2">
                    <strong style="text-align: left">Create&nbsp; New Account</strong></td>
                <td colspan="4">
                    &nbsp;</td>
            </tr>
            <tr>
                <td class="style23">
                    &nbsp;</td>
                <td class="style37">
                    &nbsp;</td>
                <td class="style18">
                    &nbsp;</td>
                <td class="style4">
                    &nbsp;</td>
                <td colspan="4">
                    &nbsp;</td>
            </tr>
            <tr>
                <td class="style23">
                    &nbsp;</td>
                <td class="style37">
                    &nbsp;</td>
                <td class="style18">
                    <asp:Label ID="Label2" runat="server" Text="Distributor ID" Width="150px"></asp:Label>
                </td>
                <td class="style4">
                    <asp:DropDownList ID="disid" runat="server" DataSourceID="LinqDataSource1" 
                        DataTextField="Dis_ID" DataValueField="Dis_ID" 
                        onselectedindexchanged="DropDownList1_SelectedIndexChanged" 
                        BackColor="#CED4DF" Width="200px">
                    </asp:DropDownList>
                </td>
                <td colspan="4">
                    <asp:LinqDataSource ID="LinqDataSource1" runat="server" 
                        ContextTypeName="bestlifeDataContext" EntityTypeName="" 
                        TableName="Tbl_Distributors">
                    </asp:LinqDataSource>
                </td>
            </tr>
            <tr>
                <td class="style23">
                    &nbsp;</td>
                <td class="style37">
                    &nbsp;</td>
                <td class="style18">
                    User name </td>
                <td class="style4">
                    <telerik:RadTextBox ID="username" Runat="server" Width="200px" 
                        BackColor="#CED4DF">
                    </telerik:RadTextBox>
                    </td>
                <td class="style14" colspan="4">
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
                        ErrorMessage="Please Insert your name " ForeColor="Red" 
                        ControlToValidate="username" Width="150px"></asp:RequiredFieldValidator>
                    </td>
            </tr>
            <tr>
                <td class="style33">
                    &nbsp;</td>
                <td class="style38">
                    </td>
                <td class="style34">
                    Password </td>
                <td class="style35">
                    <telerik:RadTextBox ID="pass" Runat="server" Width="200px" BackColor="#CED4DF">
                    </telerik:RadTextBox>
                </td>
                <td class="style7" colspan="4">
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" 
                        ErrorMessage="Please choose a password" ForeColor="Red" 
                        ControlToValidate="pass"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td class="style23">
                    &nbsp;</td>
                <td class="style37">
                    &nbsp;</td>
                <td class="style18">
                    Confirm Password </td>
                <td class="style4">
                    <telerik:RadTextBox ID="cpass" Runat="server" Width="200px" BackColor="#CED4DF">
                    </telerik:RadTextBox>
                </td>
                <td colspan="4">
                    <asp:RequiredFieldValidator ID="errormsg" runat="server" 
                        ErrorMessage="Passwords did not match " ForeColor="Red" 
                        ControlToValidate="cpass"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td class="style23">
                    &nbsp;</td>
                <td class="style37">
                    &nbsp;</td>
                <td class="style18">
                    </td>
                <td class="style4">
                    </td>
                <td class="style14" colspan="4">
                    <br />
                    </td>
            </tr>
            <tr>
                <td class="style23">
                    &nbsp;</td>
                <td class="style37">
                    &nbsp;</td>
                <td class="style18">
                    &nbsp;</td>
                <td class="style4">
                    <telerik:RadButton ID="RadButton5" runat="server" Text="Create User" 
                        onclick="RadButton5_Click" BackColor="#CED4DF">
                    </telerik:RadButton>
                </td>
                <td class="style16">
                    &nbsp;</td>
                <td class="style17">
                    &nbsp;</td>
                <td class="style15">
                    &nbsp;</td>
                <td class="style10">
                    &nbsp;</td>
            </tr>
            <tr>
                <td class="style23">
                    &nbsp;</td>
                <td class="style37">
                    &nbsp;</td>
                <td class="style18">
                    </td>
                <td colspan="5" class="style14">
                    </td>
            </tr>
            <tr>
                <td class="style23">
                    &nbsp;</td>
                <td class="style37">
                    &nbsp;</td>
                <td class="style18">
                    &nbsp;</td>
                <td colspan="5">
                    &nbsp;</td>
            </tr>
        </table>
    
    </div>
    
            </td>
        </tr>
    </table>
</asp:Content>

